public class Ground {
	
	private String name;
	private int value;
	private int level = 0;
	private Player owner = null;
	private String status = null;
	private int roadblock = 0;
	public int number;
	public Player[] player = new Player[3];
	public Ground[] ground = new Ground[22];
	
	public void initialize(Ground[] g, Player[] p){
		ground = g;
		player = p;
		setValue(100+(int)(Math.random()*200));
	}
	
	public String getName(){
		return name;
	}
	public int getValue(){
		return value;
	}
	public void setValue(int i){
		value = i;
	}
	public void setLevel(int i){
		level = i;
	}
	public int getLevel(){
		return level;
	}
	public Player getOwner(){
		return owner;
	}
	public void setOwner(Player p) {
		owner = p;
	}
	public String getStatus(){
		return this.status;
	}
	public void setStatus(String s){
		this.status = s;
	}
	public void levelup(){
		this.level++;
	}
	public void changeOwner(Player p){
		this.owner = p;
	}
	public void changeStatus(String s){
		this.status = s;
	}
	public int getRoadblock(){
		return roadblock;
	}
	public void addRoadblock(){
		roadblock++;
	}
	public void removeRoadblock(){
		roadblock--;
	}


	
}
